﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminLogin.aspx.cs" Inherits="Basic_Background_AdminLogin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>系统用户登录</title>
<link rel="stylesheet" type="text/css" href="../../Themes/Default/Css/Content.css" />
<link rel="stylesheet" type="text/css" href="../../Themes/Default/Css/Core.css" />
<link rel="stylesheet" type="text/css" href="../../Themes/Default/Css/Layout.css" />
<link rel="stylesheet" type="text/css" href="../../Themes/Default/Css/Dock.css" />
<link rel="stylesheet" type="text/css" href="../../Themes/Default/Css/Window.css" />
<link rel="stylesheet" type="text/css" href="../../Themes/Default/Css/Tabs.css" />
<link rel="stylesheet" type="text/css" href="../../Plugins/formcheck/formcheck.css" />
<script type="text/javascript" src="../../JS/mootools-1.2.4-core-yc.js"></script>
<script type="text/javascript" src="../../JS/mootools-1.2.4-more-yc.js"></script>
<script type="text/javascript" src="../../JS/excanvas_r43.js"></script>
<script type="text/javascript" src="../../JS/mocha.js"></script>
<script type="text/javascript" src="../../Plugins/formcheck/formcheck.js"></script>
<script type="text/javascript">
window.addEvent('domready', function(){ //using load instead of domready for IE8
    new MochaUI.Window({
        id: 'mywindow',
        title: '系统用户登录',
        content: $('loginForm'),
        closable:false,
        resizable:false,
        draggable:false,
        collapsible:false,
        width: 340,
        height: 140
    });
    $('loginForm').show();
    new FormCheck('loginForm',{display:{tipsPosition:'left'}});
});
</script>
<style type="text/css">
input{width:150px;}
.tableLeft{width:100px;text-align:right;}
.tableLeft2{width:80px;}
.tableFixed tr td{height:30px;line-height:30px;}
#safeCode{width:70px;}
#btnSubmit{width:70px;}
#imgSafeCode{width:80px;height:22px;}
</style>
</head>
<body>
<form id="form1" runat="server"></form>
    <form id="loginForm" action="AdminLogin.aspx?Action=login" method="post" style="display:none;">
        <table class="tableFixed" border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td class="tableLeft">用户名：</td>
                <td colspan="2"><input id="adminName" name="adminName" class="input validate['required','length[4,16]']" type="text" /></td>
            </tr>
            <tr>
                <td class="tableLeft">密码：</td>
                <td colspan="2"><input id="adminPass" name="adminPass" class="input validate['required','length[4,16]']" type="password" /></td>
            </tr>
            <tr>
                <td class="tableLeft">验证码：</td>
                <td class="tableLeft2"><input id="safeCode" name="safeCode" class="input validate['required','length[4,4]']" type="text" /></td>
                <td><img id="imgSafeCode" src="../Shared/SafeCode.aspx" alt="验证码" /></td>
            </tr>
            <tr>
                <td class="tableLeft"></td>
                <td colspan="2"><input id="btnSubmit" class="button" type="submit" value="登录" /></td>
            </tr>
        </table>
    </form>
</body>
</html>
